package com.demo.mapper.system;

import com.demo.model.system.RoleAdminRelation;
import com.demo.model.system.RoleAdminRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface RoleAdminRelationMapper {
    int countByExample(RoleAdminRelationExample example);

    int deleteByExample(RoleAdminRelationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(RoleAdminRelation record);

    int insertSelective(RoleAdminRelation record);

    List<RoleAdminRelation> selectByExample(RoleAdminRelationExample example);

    RoleAdminRelation selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") RoleAdminRelation record, @Param("example") RoleAdminRelationExample example);

    int updateByExample(@Param("record") RoleAdminRelation record, @Param("example") RoleAdminRelationExample example);

    int updateByPrimaryKeySelective(RoleAdminRelation record);

    int updateByPrimaryKey(RoleAdminRelation record);

	List<RoleAdminRelation> selectByExample(RoleAdminRelationExample example,
			RowBounds rowBounds);

	int insertBatch(List<RoleAdminRelation> records);
}